package jrain.fw.script.tools;

import java.beans.PropertyDescriptor;
import java.lang.reflect.Method;

public class BeanInfoProperty {
	// -------------------------------------
	// Properties
	// -------------------------------------
	// property readMethod

	Method mReadMethod;

	public Method getReadMethod() {
		return mReadMethod;
	}

	// -------------------------------------
	// property writeMethod

	Method mWriteMethod;

	public Method getWriteMethod() {
		return mWriteMethod;
	}

	// -------------------------------------
	// property propertyDescriptor

	PropertyDescriptor mPropertyDescriptor;

	public PropertyDescriptor getPropertyDescriptor() {
		return mPropertyDescriptor;
	}

	// -------------------------------------

	/**
	 * Constructor
	 */
	public BeanInfoProperty(Method pReadMethod, Method pWriteMethod, PropertyDescriptor pPropertyDescriptor) {
		mReadMethod = pReadMethod;
		mWriteMethod = pWriteMethod;
		mPropertyDescriptor = pPropertyDescriptor;
	}

	// -------------------------------------
}
